package com.rppowell.pixie.swing;

public class PixieUIState {
	private int state;
	
	public PixieUIState() {
		state = 0;
	}
	
	public boolean isSpriteMenuEnabled() {
		return state != 0;
	}
	public boolean isSpriteMode() {
		return state == 0;
	}
	
	public boolean isMapsMenuEnabled() {
		return state == 0;
	}
	public boolean isMapsMode() {
		return state != 0;
	}

	public void switchToSpriteMode() {
		state = 0;
		
	}
	public void switchToMapsMode() {
		state = 1;		
	}

}
